<?php
namespace Home\Controller;
use Think\Controller;

class CenterController extends Controller
{   //头部
    public function head()
    {
        $this->display();
    }
    //尾部
    public function tail()
    {
        $this->display();
    }
    
    public function personal()
    {
    	$this->display();
    }
     
     //获取用户登陆的值
    public function obtain()
    {
    	$user=M('user');

    }

    //退出登录
    // public function tuichu()
    // {
    // 	$_SESSION = array();
    // 	if (isset($_COOKIE[session_name()])) {
    // 		  setcookie(session_name(),'',time()-1,'/');
    // 	}

    // 	session_destroy();
    // 	$this->redrect('registered','',3,'退出成功，跳转至首页...');
    // }





}